package com.vsen.lpr.mapper;

import com.vsen.lpr.entity.TimeList;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.vsen.lpr.entity.ext.TimeListDo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yy
 * @since 2021-09-16
 */
@Mapper
public interface TimeListMapper extends BaseMapper<TimeList> {

    List<String> selectYear(@Param("userId") String userId);

    List<TimeListDo> selectByYear(@Param("year")String year,@Param("userId") String userId, @Param("labelName") String labelName, @Param("text") String text,@Param("type") Integer type);
}
